package cn.iocoder.yudao.module.system.controller.admin.roleaccess.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class RoleAccessAddReqVO {
    @Schema(description = "权限配置(必须)列表")
    private List<AccessAllDataReqVO> accessAllDataReqVOList;

    @Schema(description = "角色ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6040")
    @NotNull(message = "角色ID")
    private Long roleId;
}
